import { d as defineEventHandler } from './index.mjs';

const detailInfo = {
  "show_ad": true,
  "is_author": false,
  "liked_note": false,
  "public_comment_count": 52,
  "featured_comments_count": 0,
  "likes_count": 256,
  "trial_open": false,
  "wangxin_trial_open": null,
  "description": "\u6700\u8FD1\u82B1\u4E86\u51E0\u5929\u65F6\u95F4\u7814\u7A76\u4E86\u4E00\u4E0B\u600E\u4E48\u7528iOS\u539F\u751F\u9875\u9762\u9AD8\u6548\u7684\u66F4\u65B0app\u9875\u9762\u6837\u5F0F\uFF0C\u6211\u7684\u601D\u8DEF\u662F\u4F7F\u7528\u4EFFH5\u6837\u5F0F\u7684JSON\u6570\u636E\uFF0C\u5229\u7528\u5404\u79CD\u5E03\u5C40\uFF08\u6D41\u52A8\uFF0C\u7EBF\u6027\u7B49\u5E03\u5C40\uFF09\u6765\u52A8\u6001\u66F4\u65B0\u9875\u9762\u6837\u5F0F\u3002 \u9875\u9762\u52A8\u6001...",
  "gupao_eligible": 0,
  "total_fp_amount": 4757,
  "vip_note": false,
  "id": 11818622,
  "slug": "9e22a732c9c8",
  "public_title": "iOS\u9875\u9762\u52A8\u6001\u5316\uFF0C\u600E\u4E48\u6837\u7528JSON\u6570\u636E\u7684\u539F\u751F\u9875\u9762\u6446\u8131\u4F4E\u6548\u7684H5\u9875\u9762\uFF0C\u6765\u52A8\u6001\u66F4\u65B0app\u9875\u9762\u6837\u5F0F",
  "free_content": '<blockquote>\n<p>\u6700\u8FD1\u82B1\u4E86\u51E0\u5929\u65F6\u95F4\u7814\u7A76\u4E86\u4E00\u4E0B\u600E\u4E48\u7528iOS\u539F\u751F\u9875\u9762\u9AD8\u6548\u7684\u66F4\u65B0app\u9875\u9762\u6837\u5F0F\uFF0C\u6211\u7684\u601D\u8DEF\u662F\u4F7F\u7528\u4EFFH5\u6837\u5F0F\u7684JSON\u6570\u636E\uFF0C\u5229\u7528\u5404\u79CD\u5E03\u5C40\uFF08\u6D41\u52A8\uFF0C\u7EBF\u6027\u7B49\u5E03\u5C40\uFF09\u6765\u52A8\u6001\u66F4\u65B0\u9875\u9762\u6837\u5F0F\u3002</p>\n</blockquote>\n<p>\u9875\u9762\u52A8\u6001\u5316\u4E3B\u8981\u7684\u4F7F\u7528\u573A\u666F\u662Fapp\u7684\u7535\u5546\u9875\u9762\uFF0C\u7531\u4E8E\u7535\u5546\u7684\u4E1A\u52A1\u9700\u6C42\u8F83\u5927\uFF0C\u7ECF\u5E38\u4F1A\u9700\u8981\u6539\u53D8\u5404\u4E2Abanner\u7684\u6837\u5F0F\u6765\u6EE1\u8DB3\u4E1A\u52A1\u7684\u9700\u6C42\uFF0C\u6240\u4EE5\u9700\u8981\u5BA2\u6237\u7AEF\u6839\u636E\u6570\u636E\u5B9E\u65F6\u66F4\u65B0\u6837\u5F0F\uFF0C\u4E0B\u9762\u8BF4\u8BF4\u6211\u5BF9\u9875\u9762\u52A8\u6001\u5316\u7684\u7406\u89E3\u8DDF\u601D\u8DEF\u3002\u5148\u770B\u4E00\u4E0B\u6700\u540Edemo\u7684\u6548\u679C\uFF1A</p>\n<div class="image-package">\n<div class="image-container" style="max-width: 394px; max-height: 1282px;">\n<div class="image-container-fill" style="padding-bottom: 183.25%;"></div>\n<div class="image-view" data-width="394" data-height="722"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-3a5620c71c75fe9c.gif" data-original-width="394" data-original-height="722" data-original-format="image/gif" data-original-filesize="945616"></div>\n</div>\n<div class="image-caption">2017-04-27 18_34_37.gif</div>\n</div>\n<h3>\u5176\u4ED6app\u662F\u600E\u4E48\u505A\u7684</h3>\n<p>\u7528Charles\u6293\u5305\uFF0C\u53D1\u73B0\u4EAC\u4E1C\u8DDF\u7F51\u6613\u8003\u62C9\u90FD\u662F\u7528type\u8FD9\u4E2A\u5B57\u6BB5\u63D0\u524D\u5B9A\u4E49\u597D\u5404\u79CDbanner\u7684\u6837\u5F0F\uFF0C\u901A\u8FC7\u540E\u53F0\u8FD4\u56DE\u7684\u6570\u636E\uFF0C\u6765\u5B9E\u73B0\u9875\u9762\u52A8\u6001\u5316\u66F4\u65B0\uFF0C\u8FD9\u6837\u505A\u6709\u597D\u7684\u65B9\u9762\u4E5F\u6709\u4E0D\u597D\u7684\u5730\u65B9\uFF1A</p>\n<ul>\n<li>\u597D\u7684\u65B9\u9762\uFF1A\u63D0\u524D\u5B9A\u4E49\u597Dbanner\u7684\u6837\u5F0F\uFF0C\u5BA2\u6237\u7AEF\u53EA\u9700\u8981\u5B9A\u4E49\u597D\u5404\u4E2A\u6837\u5F0F\u7684UI\uFF0C\u6839\u636Etype\u5B57\u6BB5\u6765\u5C55\u73B0\u5C31\u597D</li>\n<li>\u4E0D\u597D\u7684\u65B9\u9762\uFF1A\u53EA\u80FD\u6839\u636E\u5B9A\u4E49\u597D\u7684\u6837\u5F0F\u6765\u8FDB\u884C\u52A8\u6001\u5316\u66F4\u65B0\uFF0C\u5982\u679C\u9700\u8981\u52A0\u5165\u65B0\u7684\u6837\u5F0F\uFF0C\u9700\u8981\u63D0\u4EA4\u65B0\u5305</li>\n</ul>\n<h3>\u6211\u7684\u505A\u6CD5</h3>\n<p>\u5BA2\u6237\u7AEF\u4E0D\u5B9A\u4E49banner\u6837\u5F0F\uFF0C\u800C\u662F\u5B9A\u4E49\u5E03\u5C40\u6837\u5F0F\u6765\u5B9E\u73B0\u9AD8\u5EA6\u52A8\u6001\u66F4\u65B0\u9875\u9762\uFF0C\u601D\u8DEF\u6765\u81EA\u4E8ECSS\u91CC\u5B9A\u4E49\u7684div+CSS\u5E03\u5C40\uFF0CCSS\u91CC\u53EF\u4EE5\u6839\u636Edisplay\u7684inline\u8DDFblock\u503C\u6765\u8FDB\u884C\u5E03\u5C40\uFF0CiOS\u91CC\uFF0C\u6211\u5B9A\u4E49\u4E86\u51E0\u79CD\u5E38\u89C1\u7684\u5E03\u5C40\uFF1A</p>\n<ul>\n<li>&lt;b&gt;FlowLayout&lt;/b&gt;\uFF1A\u6D41\u5F0F\u5E03\u5C40\uFF0C\u6839\u636Edisplay\u503C\u6A2A\u5411\u6216\u8005\u7EB5\u5411\u5E03\u5C40\uFF0C\u6839\u636E\u5C4F\u5E55\u5BBD\u5EA6\u8DDFbanner\u5BBD\u5EA6\u6362\u884C</li>\n<li>&lt;b&gt;LinearLayout&lt;/b&gt;\uFF1A\u7EBF\u6027\u5E03\u5C40\uFF0C\u7EB5\u5411\u5E03\u5C40</li>\n<li>&lt;b&gt;WaterfallLayout&lt;/b&gt;\uFF1A\u7011\u5E03\u6D41\u5E03\u5C40</li>\n<li>&lt;b&gt;OneAndNLayout&lt;/b&gt;\uFF1A\u5DE6\u8FB9\u4E00\u4E2A\u5927\u56FE\uFF0C\u53F3\u8FB9N\u5F20\u5C0F\u56FE\u7684\u5E03\u5C40</li>\n<li>&lt;b&gt;StickyLayout&lt;/b&gt;\uFF1A\u60AC\u6D6E\u5E03\u5C40</li>\n</ul>\n<h3>\u6574\u4F53\u67B6\u6784</h3>\n<p>\u9875\u9762\u52A8\u6001\u5316 \u6574\u4F53\u67B6\u6784\u5982\u4E0B\uFF1A</p>\n<br>\n<div class="image-package">\n<div class="image-container" style="max-width: 700px; max-height: 602px;">\n<div class="image-container-fill" style="padding-bottom: 86.07000000000001%;"></div>\n<div class="image-view" data-width="1522" data-height="1310"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-8a391b25583f328b.png" data-original-width="1522" data-original-height="1310" data-original-format="image/png" data-original-filesize="161541"></div>\n</div>\n<div class="image-caption">Screenshot 2017-04-27 19.10.17.png</div>\n</div>\n<p>\u6BCF\u4E2AUIViewController\u90FD\u662F\u4E00\u4E2A\u9875\u9762\uFF0C\u9875\u9762\u662F\u7531\u4E00\u4E2A\u4E2A\u5361\u7247\u7EC4\u6210\u7684\uFF0C\u5361\u7247\u5176\u5B9E\u5C31\u662F\u4EE3\u8868\u4E86\u4E00\u4E2A\u5E03\u5C40\u6837\u5F0F\uFF0C\u6BCF\u4E2A\u5361\u7247\u662F\u7531\u4E00\u4E2A\u4E2A\u5143\u7D20\u7EC4\u6210\u7684\uFF0C\u5143\u7D20\u5176\u5B9E\u6307\u7684\u5C31\u662F\u5361\u7247\u5E03\u5C40\u6837\u5F0F\u4E0B\u7684\u5404\u4E2Abanner\uFF0C\u5BF9\u5E94\u7684JSON\u6570\u636E\u7ED3\u6784\u5982\u4E0B\uFF1A</p>\n<pre><code>{\n    "cards": [\n        {\n            "layout": 1,\n            "elements": [\n                {\n                    \n                },\n                {\n                    \n                },\n                ...\n            ]\n        },\n        {\n            "layout": 1,\n            "elements": [\n                {\n                    \n                },\n                {\n                    \n                },\n                ...\n            ]\n        },\n        ...\n    ]\n}\n</code></pre>\n<h3>\u5177\u4F53\u5B9E\u73B0</h3>\n<p>\u7531\u4E8E\u5927\u90E8\u5206\u9875\u9762\u5185\u5BB9\u90FD\u9700\u8981\u4E0A\u4E0B\u6ED1\u52A8\u663E\u793A\u66F4\u591A\u5185\u5BB9\u7684\uFF0C\u6240\u4EE5\u9875\u9762\u52A8\u6001\u5316\u7684\u5B9E\u73B0\u662F\u57FA\u4E8E<code>UICollectionView</code>\u6765\u505A\u7684\uFF0C\u5F53\u7136\u4E5F\u53EF\u4EE5\u4F7F\u7528<code>UIScrollView</code>\u6765\u5B9E\u73B0\uFF08\u6DD8\u5B9D\u5929\u732B\u90FD\u662F\u901A\u8FC7\u4E00\u4E2A\u81EA\u5B9A\u4E49\u5177\u6709\u56DE\u6536\u590D\u7528\u673A\u5236\u7684<code>UIScrollView</code>\u6765\u5C55\u793A\u52A8\u6001\u5316\u9875\u9762\u5185\u5BB9\u7684\uFF09\uFF0C\u6211\u7684\u7406\u89E3\u662F\u65E2\u7136<code>UICollectionView</code>\u53EF\u4EE5\u901A\u8FC7\u81EA\u5B9A\u4E49<code>UICollectionViewLayout</code>\u6765\u5C55\u73B0\u81EA\u5B9A\u4E49\u7684cell\uFF0C\u4E3A\u4EC0\u4E48\u4E0D\u7528\u8FD8\u9700\u8981\u81EA\u5DF1\u5B9A\u4E49\u4E00\u4E2A\u5177\u6709\u56DE\u6536\u590D\u7528\u673A\u5236\u7684<code>UIScrollView</code>\u53BB\u5C55\u73B0\u5185\u5BB9\uFF0C<code>UICollectionView</code>\u81EA\u8EAB\u5C31\u662F\u5E26\u6709\u56DE\u6536\u590D\u7528\u673A\u5236\u7684\u3002\u6211\u7684\u5177\u4F53\u5B9E\u73B0\uFF0C\u5148\u770B\u4E0B\u6574\u4F53\u7684UML\u56FE\uFF1A</p>\n<div class="image-package">\n<div class="image-container" style="max-width: 700px; max-height: 261px;">\n<div class="image-container-fill" style="padding-bottom: 37.31%;"></div>\n<div class="image-view" data-width="3120" data-height="1164"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-4fda17b12938f621.png" data-original-width="3120" data-original-height="1164" data-original-format="image/png" data-original-filesize="386110"></div>\n</div>\n<div class="image-caption">Screenshot 2017-04-27 23.10.15.png</div>\n</div>\n<p>\u6BCF\u4E2A<code>KBBaseCard</code>\u4EE3\u8868\u4E86\u4E00\u4E2A\u5E03\u5C40\u7684\u5361\u7247\uFF0C\u5BF9\u5E94<code>UICollectionView</code>\u91CC\u7684\u4E00\u4E2A<code>section</code>\uFF0C<code>KBBaseCard</code>\u91CCelements\u7684\u6BCF\u4E2A<code>KBBaseElement</code>\u4EE3\u8868\u4E86\u4E00\u4E2Abanner\uFF0C\u5BF9\u5E94<code>UICollectionView</code>\u91CC\u7684\u4E00\u4E2A<code>item</code>\uFF0C<code>KBBaseElement</code>\u91CC\u7684<code>KBElementStyle</code>\u63D0\u4F9Bbanner\u9700\u8981\u5C55\u73B0\u7684\u6837\u5F0F\u3002<code>KBElementStyle</code>\u91CC\u7684<code>type</code>\u5B57\u6BB5\u662F\u7528\u6765\u5B9A\u4E49banner\u7684\u6837\u5F0F\uFF0C\u6BD4\u65B9\u8BF4<code>type=1</code>\u4EE3\u8868\u8FD9\u4E2Abanner\u5C31\u662F\u4E00\u5F20\u56FE\u3002\u5B9E\u9645\u5C55\u793A\u56FE\u5982\u4E0B\uFF1A</p>\n<div class="image-package">\n<div class="image-container" style="max-width: 700px; max-height: 921px;">\n<div class="image-container-fill" style="padding-bottom: 131.65%;"></div>\n<div class="image-view" data-width="992" data-height="1306"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-f34fc93e9954cb47.png" data-original-width="992" data-original-height="1306" data-original-format="image/png" data-original-filesize="97042"></div>\n</div>\n<div class="image-caption">Screenshot 2017-04-27 23.21.04.png</div>\n</div>\n<h3>UICollectionViewLayout\u7684\u81EA\u5B9A\u4E49</h3>\n<p><code>UICollectionView</code>\u63D0\u4F9B\u7684<code>UICollectionViewFlowLayout</code>\u5E76\u4E0D\u80FD\u6EE1\u8DB3\u6211\u7684\u5BF9\u6837\u5F0F\u5C55\u73B0\u7684\u9700\u6C42\uFF0C\u6240\u4EE5\u8FD9\u91CC\u6211\u4EEC\u5FC5\u987B\u81EA\u5DF1\u5199\u4E00\u5957<code>UICollectionViewLayout</code>\u6765\u63D0\u4F9B\u5BF9<code>KBBaseElement</code>\u91CC<code>style</code>\u5B57\u6BB5\u91CC\u7684\u6837\u5F0F\u652F\u6301\uFF0C\u6838\u5FC3\u65B9\u6CD5\u5982\u4E0B\uFF0C\u5177\u4F53\u5B9E\u73B0\u5728\u672C\u6587\u4E2D\u4E0D\u505A\u8FC7\u591A\u8BE6\u89E3\uFF0C\u5927\u5BB6\u53EF\u4EE5\u81EA\u5DF1\u67E5\u8BE2\u4E00\u4E0B\u76F8\u5173\u7684\u77E5\u8BC6\uFF1A</p>\n<pre><code>- (UICollectionViewLayoutAttributes *)layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath\n{\n    UICollectionViewLayoutAttributes *layoutAttributes = [UICollectionViewLayoutAttributes layoutAttributesForCellWithIndexPath:indexPath];\n    \n    NSInteger sectionLayout = 1;    // CardFlowLayout is the default layout\n    \n    if (self.delegate &amp;&amp; [self.delegate respondsToSelector:@selector(collectionView:layout:layoutForSection:)]) {\n        sectionLayout = [self.delegate collectionView:self.collectionView layout:self layoutForSection:indexPath.section];\n    }\n    \n    // CardFlowLayout \u6D41\u5F0F\u5E03\u5C40\n    if (sectionLayout == 1) {\n        [self handleLayoutAttributesForFlowLayout:layoutAttributes atIndexPath:indexPath];\n    }\n    // CardLinearLayout \u7EBF\u6027\u5E03\u5C40\n    if (sectionLayout == 2) {\n        [self handleLayoutAttributesForLinearLayout:layoutAttributes atIndexPath:indexPath];\n    }\n    // CardOneAndNLayout \u5DE6\u8FB9\u4E00\u5F20\u5927\u56FE\u53F3\u8FB9N\u5F20\u5C0F\u56FE\u5E03\u5C40\n    if (sectionLayout == 3) {\n        [self handleLayoutAttributesForOneAndNLayout:layoutAttributes atIndexPath:indexPath];\n    }\n    // CardWaterfallLayout \u7011\u5E03\u6D41\u5E03\u5C40\n    if (sectionLayout == 4) {\n        [self handleLayoutAttributesForWaterfallLayout:layoutAttributes atIndexPath:indexPath];\n    }\n    \n    return layoutAttributes;\n}\n</code></pre>\n<h3>JSON\u6570\u636E</h3>\n<p>\u8FD9\u91CC\u63D0\u4F9B\u4E00\u4E2A\u6211\u81EA\u5DF1\u521B\u5EFA\u7684JSON mock\u6570\u636E\uFF0C\u8FD8\u6709\u6839\u636E\u8FD9\u4E2AJSON\u6570\u636E\u6700\u7EC8\u5C55\u73B0\u51FA\u6765\u7684\u9875\u9762\u56FE</p>\n<ul>\n<li>JSON</li>\n</ul>\n<pre><code>{\n    "cards": [\n        {\n            "layout": 1,\n            "style": {\n                "backgroundColor": "#ffffff"\n            },\n            "elements": [\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/lqdbpar1xWZw5NuOB9ezf80UDm75Ei%2BZyMo%2BMgvE%2Bdunea_02T1704271119_480_240.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0",\n                            "0",\n                            "0.75",\n                            "0.75"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/i11BQFE2dWpzplHNBV1Tr8Hafa5zTz%2BCoxF%2BwIBS%2BKF2Vx_03T1704261946_480_240.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0",\n                            "0.75",\n                            "0.75",\n                            "0"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/KwaBThC4mguSnQCGBXVtfK4RmTTSeQ%2BZ5Ql%2BTNvQ%2BKNWzP_05T1704251128_480_240.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0.75",\n                            "0",\n                            "0",\n                            "0.75"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/G4LGkdg7si4p5ZzVBZUKmkTq7EeTKt%2BRRaE%2BfQyx%2B6JlfC_06T1704251128_480_240.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0.75",\n                            "0.75",\n                            "0",\n                            "0"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/HNkdnuFcFey5Om5GpNpO-C2LLgTrO3WtFT1704201935_960_210.jpg",\n                    "style": {\n                        "display": "block",\n                        "margin": [\n                            "0.75",\n                            "0",\n                            "0",\n                            "0"\n                        ],\n                        "width_height_ratio": 4.57\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/mrui23TlZJcRAocRWB70T1704262151_600_375.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0.75",\n                            "0",\n                            "0",\n                            "0.75"\n                        ],\n                        "width_ratio": 0.7,\n                        "width_height_ratio": 1.6\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/ppiV8ODszIZciIZbmQih-A6HUakFq6g6oLTNhT1704201914_474_555.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0.75",\n                            "0.75",\n                            "0",\n                            "0"\n                        ],\n                        "width_ratio": 0.3,\n                        "width_height_ratio": 0.685\n                    }\n                }\n            ]\n        },\n        {\n            "layout": 3,\n                "style": {\n                "backgroundColor": "#ffffff"\n            },\n            "elements": [\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/KHASB80nO5JMsX1e2iChshdRT1704262150_480_480.jpg",\n                    "style": {\n                        "margin": [\n                            "0",\n                            "0",\n                            "0",\n                            "0.75"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 1.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/ygMuXb96hrtGtT6Wc9vZ2T17040101959_480_240.jpg",\n                    "style": {\n                        "margin": [\n                            "0",\n                            "0.75",\n                            "0.75",\n                            "0"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/ADB5IaeoJWP9pIzVmwzkfGKhT1704262151_480_240.jpg",\n                    "style": {\n                        "margin": [\n                            "0.75",\n                            "0.75",\n                            "0",\n                            "0"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 2.0\n                    }\n                }\n            ]\n        },\n        {\n            "layout": 1,\n            "style": {\n                "backgroundColor": "#ffffff"\n            },\n            "elements": [\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/ppiV8ODszIZciIZbmQih-A6HUakFq6g6oLTNhT1704201914_474_555.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0",\n                            "0",\n                            "0",\n                            "0.75"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 0.856\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/mbO7ln3VxpAWxKkw84Ay-ys6BLHmk9LLRvwa4T1704201914_474_555.jpg",\n                    "style": {\n                        "display": "inline",\n                        "margin": [\n                            "0",\n                            "0.75",\n                            "0",\n                            "0"\n                        ],\n                        "width_ratio": 0.5,\n                        "width_height_ratio": 0.856\n                    }\n                }\n            ]\n        },\n        {\n            "layout": 2,\n            "style": {\n                "backgroundColor": "#ffffff"\n            },\n            "elements": [\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/hwCkTs9AoDThXhv5k38dr2M0T1704242204_960_480.jpg",\n                    "style": {\n                        "margin": [\n                            "0",\n                            "0",\n                            "10",\n                            "0"\n                        ],\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/Tt9TfxyDTSSirP27lXEiIsKPriT1704241519_960_480.jpg",\n                    "style": {\n                        "margin": [\n                            "0",\n                            "0",\n                            "10",\n                            "0"\n                        ],\n                        "width_height_ratio": 2.0\n                    }\n                },\n                {\n                    "type": 1,\n                    "image": "http://haitao.nos.netease.com/uey1sJ03lEOglRm626Th6dKrT1704242203_960_480.jpg",\n                    "style": {\n                        "margin": [\n                            "0",\n                            "0",\n                            "10",\n                            "0"\n                        ],\n                        "width_height_ratio": 2.0\n                    }\n                }\n            ]\n        }\n    ]\n}\n</code></pre>\n<ul>\n<li>\u9875\u9762\u56FE</li>\n</ul>\n<div class="image-package">\n<div class="image-container" style="max-width: 700px; max-height: 1286px;">\n<div class="image-container-fill" style="padding-bottom: 183.82%;"></div>\n<div class="image-view" data-width="754" data-height="1386"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-766215c49f649735.png" data-original-width="754" data-original-height="1386" data-original-format="image/png" data-original-filesize="926318"></div>\n</div>\n<div class="image-caption">Screenshot 2017-04-27 23.29.39.png</div>\n</div>\n<div class="image-package">\n<div class="image-container" style="max-width: 700px; max-height: 1283px;">\n<div class="image-container-fill" style="padding-bottom: 183.29%;"></div>\n<div class="image-view" data-width="754" data-height="1382"><img data-original-src="//upload-images.jianshu.io/upload_images/1932655-fb2cb887b42dddbc.png" data-original-width="754" data-original-height="1382" data-original-format="image/png" data-original-filesize="1110378"></div>\n</div>\n<div class="image-caption">Screenshot 2017-04-27 23.29.59.png</div>\n</div>\n<blockquote>\n<p>\u8F6C\u8F7D\u8BF7\u6CE8\u660E\u51FA\u5904\uFF0C\u539F\u6587\u5730\u5740\uFF1A<a href="https://link.jianshu.com?t=http://kobedai.me/p9rsts-6s/" target="_blank" rel="nofollow">http://kobedai.me/p9rsts-6s/</a></p>\n</blockquote>\n',
  "paid_type": "free",
  "notebook_id": 3975722,
  "commentable": true,
  "reprintable": true,
  "first_shared_at": "2017-04-27T23:32:53.000+08:00",
  "wordage": 1028,
  "paid_content_accessible": false,
  "share_image_url": "http://upload-images.jianshu.io/upload_images/1932655-8a391b25583f328b.png",
  "show_paid_comment_tips": false,
  "user": {
    "id": 1932655,
    "slug": "eedc12fb5b1f",
    "nickname": "Kobe_Dai",
    "gender": 1,
    "avatar": "https://cdn2.jianshu.io/assets/default_avatar/11-4d7c6ca89f439111aff57b23be1c73ba.jpg",
    "intro": "Mobile Developer @Shopify \u{1F1E8}\u{1F1E6}",
    "intro_compiled": "Mobile Developer @Shopify \u{1F1E8}\u{1F1E6}",
    "wordage": 10723,
    "likes_count": 470,
    "badges": [],
    "user_ip_addr": "\u5B89\u5927\u7565",
    "vip": null,
    "liked_by_user": false,
    "liked_user": false
  },
  "distribution_more_earn_percent": 24,
  "last_updated_at": 1512480867,
  "activity_collection_slug": null
};

const index_get = defineEventHandler((event) => {
  return detailInfo;
});

export { index_get as default };
//# sourceMappingURL=index.get.mjs.map
